package com.cwt_taxi_xa.constants;

public class SPConstants {

	//计价器厂家  1--聚利   2--通用  3--青岛恒星
	public static String SPK_jjq = "SPK_jjq";
	public static int SPV_jjq = 0;//如果是通用的计价器,会退回到签到界面
	//默认开启陕A前缀
	public static boolean SPK_carcode_prefix = true;
	//车牌 车牌前缀陕A
	public static String SPK_carcode = "SPK_carcode";
//		public static String SPV_carcode = "测B12356";//自己环境
//	public static String SPV_carcode = "陕T23168";//厦门1
//	public static String SPV_carcode = "陕AT0003";//厦门2
//	public static String SPV_carcode = "陕AT0011";//交委
	public static String SPV_carcode = "陕AAAAAA";//交委
//	public static String SPV_carcode = "陕AU0999";//天泽

	//车牌校验
	public static String Correction_carcode = "carcode_correction";
	public static boolean correction = true;
	
	//终端号
	public static String SPK_clientcode = "SPK_clientcode";
//	public static String SPV_clientcode = "103824123168";//厦门测试环境
//		public static String SPV_clientcode = "101000002961";//交委环境
		public static String SPV_clientcode = "";//交委环境
//		public static String SPV_clientcode = "101004374516";//交委环境!!正式运营平台终端号
//	  public static String SPV_clientcode = "101004751554";//自己环境
//	  public static String SPV_clientcode = "100300714880";//厦门2
//	  public static String SPV_clientcode = "108123456789";//天泽
//	  public static String SPV_clientcode = "108800001356";//天泽


	//服务器IP
	//	public static String SPV_ip = "218.5.80.24";//厦门平台
//	public static String SPV_ip = "218.5.80.6";//厦门平台新
		public static String SPV_ip = "113.140.71.252";//运管测试平台-锐明
//		public static String SPV_ip = "113.140.71.252";//西交投正式平台
//		public static String SPV_ip = "117.34.73.39";//自己测试平台-锐明
//		public static String SPV_ip = "124.72.95.37";//厦门2
//		public static String SPV_ip = "223.68.203.62";//天泽
//		public static String SPV_ip = "115.231.252.70";//天泽
//		public static String SPV_ip = "113.215.187.248";//自己家开发

	//服务器端口
	//	public static String SPV_PORT = 8892;//厦门平台
//	public static String SPV_PORT = "8893";//厦门新平台
		public static String SPV_PORT = "50009";//运管测试平台-锐明
		public static String SPV_PORT_BAK = "50009";//运管测试平台-锐明
		//public static String SPV_PORT = "9095";//运管测试平台-锐明
//		public static String SPV_PORT = "9095";//西交投正式平台-锐明
//		public static String SPV_PORT = "50004";//自己测试平台-锐明
//		public static String SPV_PORT = "8065";//厦门2
//		public static String SPV_PORT = "15557";//天泽
//		public static String SPV_PORT = "15556";//天泽
//		public static String SPV_PORT = "9090";//自己家开发

	public static final String MSG_BG_SWITCHER = "msg_bg_switcher";		// 调度信息背景开关
	public static final String MSG_COLOR = "msg_color";		// 调度信息颜色
	public static final String MSG_SHOW_TYPE = "msg_show_type";		// 调度信息显示方式

	//是否签到
	public static String SPK_signin = "SPK_signin";
	public static boolean SPV_signin = true;
	
	//是否能签退
//	public static String SPK_canSignOut = "SPK_canSignOut";
//	public static boolean SPV_canSignOut = true;
	
	//是否有刷卡模块
	public static String SPK_ScardExist= "SPK_ScardExist";
	public static boolean SPV_ScardExist = false;

	//是否开启口罩识别
	public static String SPK_Mask= "SPK_Mask";
	public static boolean SPV_Mask = true;

	public static String SPK_MASK_CAMERA = "SPK_MASK_CAMERA";
	public static int SPV_MASK_CAMERA = 2;
	public static String SPK_TTS_STATE = "SPK_TTS_STATE"; //0:空车转重车  1：重车转空车
	//空转重时语言播报设置相关
	public static String SPK_00E7_TTS = "SPK_00E7_TTS";
	public static String SPK_00E7_TTS_DELAY = "SPK_00E7_TTS_DELAY";
	public static String SPK_00E7_TTS_PRIORITY = "SPK_00E7_TTS_PRIORITY";
	public static String SPK_00E7_TTS_STARTTIME = "SPK_00E7_TTS_STARTTIME";
	public static String SPK_00E7_TTS_ENDTIME = "SPK_00E7_TTS_ENDTIME";
	public static String SPK_00E7_TTS_CONTENT = "SPK_00E7_TTS_CONTENT";

	//重转空时语言播报设置相关
	public static String SPK_00E8_TTS = "SPK_00E8_TTS";
	public static String SPK_00E8_TTS_DELAY = "SPK_00E8_TTS_DELAY";
	public static String SPK_00E8_TTS_PRIORITY = "SPK_00E8_TTS_PRIORITY";
	public static String SPK_00E8_TTS_STARTTIME = "SPK_00E8_TTS_STARTTIME";
	public static String SPK_00E8_TTS_ENDTIME = "SPK_00E8_TTS_ENDTIME";
	public static String SPK_00E8_TTS_CONTENT = "SPK_00E8_TTS_CONTENT";

	//是否人脸验证
	public static String SPK_faceSN = "SPK_faceSN";
	public static boolean SPV_faceSN = false;
	
	//签到司机号
	public static String SPK_signinNum = "SPK_signinNum";
	public static String SPV_signinNum = "";
	
	//本地APPLOG开关
	public static boolean log_test = false;
	
	//拍照方式
	public static boolean takePicFromUSB = false;
	
	//dvr选择    1-通立      2-郑工
	public static String SPK_dvr = "SPK_dvr";
	public static int SPV_dvr = 2;
	
	//倒车摄像头制式
	public static String SPK_backisp = "SPK_backisp";
	public static boolean SPV_backisp = true;
	
	//dvr  ip  等两家dvrip统一后再启用
//	public static String SPK_dvrip = "SPK_dvr_ip";
	public static String SPV_dvrip_tl = "192.168.141.1";
	public static String SPV_dvrip_zg = "192.168.0.76";
	//http://192.168.0.10:6681/get_statu
	
	
	//当日最早车次
	public static String SPK_cartimes = "SPK_cartimes";
	public static int SPV_cartimes = 0;
	
	
	//GPS方向
	public static String SPK_direction = "SPK_direction";
	public static int SPV_direction = 0;

	//GPS海拔高度
	public static String SPK_altitude = "SPK_altitude";
	public static int SPV_altitude = 0;

	//GPS速度
	public static String SPK_speed = "SPK_speed";
	public static int SPV_speed = 0;

	//GPS经度
	public static String SPK_lat = "SPK_lat";
	public static int SPV_lat = 0;

	//GPS纬度
	public static String SPK_lng = "SPK_lng";
	public static int SPV_lng = 0;

	//GPS时间
	public static String SPK_time = "SPK_time";
	public static long SPV_time = 0;

	//里程-------------------------------------------------要从计价器获取里程保存
	public static String SPK_mileage = "SPK_mileage";
	public static String SPV_mileage = "0.0";
	public static String SWITCHER = "switcher";
	public static String SWITCHER_BAK = "switcher_bak";
	//音量
	public static String SPK_vol_voice = "SPK_vol_voice";
	public static int SPV_vol_voice = 15;
	public static String SPK_vol = "SPK_vol";
	public static int SPV_vol = 8;
	//人数统计阈值
	public static String SPK_people_threshold = "SPK_people_threshold";
	public static int SPV_threshold_default = 150;
	public static int SPV_threshold_max = 150;

	public static String SPK_PRESET_TTS = "SPK_preset_tts";
	/**
	 * 终端参数设置----------------------------------------------------------------开始
	 */
	//	0x0001	DWORD	终端心跳发送间隔，单位为秒（s）
	public static final String PARAMS_HEART_TIME = "heartTimer";
	//	0x0002	DWORD	TCP 消息应答超时时间，单位为秒（s）
	public static final String PARAMS_TCP_TIME_OUT = "TCP_TIME_OUT";
	//	0x0003	DWORD	TCP 消息重传次数
	public static final String PARAMS_TCP_RESEND_COUNT = "TCP_RESEND_COUNT";
	//	0x0004	DWORD	UDP 消息应答超时时间，单位为秒（s）
	public static final String PARAMS_UDP_TIME_OUT = "UDP_TIME_OUT";
	//	0x0005	DWORD	UDP 消息重传次数
	public static final String PARAMS_UDP_RESEND_COUNT = "UDP_RESEND_COUNT";
	//	0x0006	DWORD	SMS 消息应答超时时间，单位为秒（s）
	public static final String PARAMS_SMS_TIME_OUT = "SMS_TIME_OUT";
	//	0x0007	DWORD	SMS 消息重传次数
	public static final String PARAMS_SMS_RESEND_COUNT = "SMS_RESEND_COUNT";
	//	0X0006〜0X000F		预留
	//	0X0010	STRING	主服务器APN，无线通信拨号访问点
	public static final String PARAMS_SERVER_APN = "hytdapn";
	//	0X0011	STRING	主服务器无线通信拨号用户名
	public static final String PARAMS_MAIN_USER = "PARAMS_MAIN_USER";
	//	0x0012	STRING	主服务器无线通信拨号密码
	public static final String PARAMS_MAIN_PWD = "PARAMS_MAIN_PWD";
	//	0x0013	STRING	主服务器地址,IP或域名
	public static final String PARAMS_SERVER_IP = "hytdip";
	//	0x0014	STRING	备份服务器APN，无线通信拨号访问点
	public static final String PARAMS_SERVER_APN_BAK = "hytdapnbak";
	//	0X0015	STRING	主服务器无线通讯拨号用户名
	public static final String WIRELESS_USER_NAME_BAK = "wirelessusernamebak";
	//	0X0016	STRING	主服务器无线通信拨号密码
	public static final String WIRELESS_USER_PASSWORD_BAK = "wirelessuserpasswordbak";
	//	0x0017	STRING	备份服务器地址，IP或域名
	public static final String PARAMS_SERVER_IP_BAK = "hytdipbak";
	//	0x0018	UINT32	主服务器TCP端口
	public static final String PARAMS_SERVER_PORT = "hytdport";
	//	0x0019	UINT32	备份服务器TCP端口
	public static final String PARAMS_SERVER_PORT_BAK = "hytdportbak";
	//	0x001A	UINT32	一卡通主服务器地址,IP或域名
	public static final String ONE_CARD_SERVER_IP = "ONE_CARD_SERVER_IP";
	//	0x001B	STRING	一卡通主服务器TCP端口
	public static final String ONE_CARD_SERVER_IP_PORT = "ONE_CARD_SERVER_IP_PORT";

	//	0x001C	UINT32	一卡通主服务器地址,IP或域名
	public static final String ONE_CARD_SERVER_IP_BAK = "ONE_CARD_SERVER_IP_BAK";
	//	0x001D	STRING	一卡通备份服务器TCP端口
	public static final String ONE_CARD_SERVER_IP_PORT_BAK = "ONE_CARD_SERVER_IP_PORT_BAK";
	//	0x001C - 0x00IF		保留
	//	0x0020	DWORD	位置汇报策略，0：定时汇报；1：定距汇报；2：定时和定距汇报
	public static final String PARAMS_POSITION_REPORT_TYPE = "POSITION_REPORT_TYPE";
	//	0x0021	DWORD	位置汇报方案，0：根据ACC状态； 1：根据登录状态 + ACC状态，先判断登录状态，若登录再根据ACC状态；2：根据空重车状态；3：根据登录状态 + 空重车状态，先判断登录状态，若登录再根据空重车状态
	public static final String PARAMS_POSITION_REPORT_MODE = "POSITION_REPORT_MODE";
	//	0X0022	UINT32	未登录汇报时间间隔，秒，>0
	public static final String PARAMS_OFFLINE_REPORT_TIME = "OFFLINE_REPORT_TIME";
	//	0X0023	UINT32	ACC OFF汇报时间间隔，秒，>0
	public static final String PARAMS_ACC_OFF_REPORT_TIME = "ACC_OFF_REPORT_TIME";
	//	0X0024	UINT32	ACC ON汇报时间间隔，秒，>0
	public static final String PARAMS_ACC_ON_REPORT_TIME = "ACC_ON_REPORT_TIME";
	//	0X0025	UINT32	空车汇报时间间隔，秒，>0
	public static final String PARAMS_EMPTY_REPORT_TIME = "EMPTY_REPORT_TIME";
	//	0X0026	UINT32	重车汇报时间间隔.，秒，>0
	public static final String PARAMS_FULL_REPORT_TIME = "FULL_REPORT_TIME";
	//	0X0027	UINT32	休眠时汇报时间间隔，秒，>0.
	public static final String PARAMS_DORMANT_REPORT_TIME = "DORMANT_REPORT_TIME";
	//	0X0028	UINT32	紧急报警时汇报时间间隔，秒，>0
	public static final String PARAMS_URGENCY_ALARM_REPORT_TIME = "URGENCY_ALARM_REPORT_TIME";
	//	0X0029	UINT32	未登录汇报距离间隔，米，>0
	public static final String PARAMS_OFFLINE_REPORT_DISTANCE = "OFFLINE_REPORT_DISTANCE";
	//	OX002A	UINT32	ACC OFF汇报距离间隔，米，>0
	public static final String PARAMS_ACC_OFF_REPORT_DISTANCE = "ACC_OFF_REPORT_DISTANCE";
	//	0X002B	UINT32	ACC ON汇报距离间隔，米，>0
	public static final String PARAMS_ACC_ON_REPORT_DISTANCE = "ACC_ON_REPORT_DISTANCE";
	//	0X002C	UINT32	空车汇报距离间隔，米，>0
	public static final String PARAMS_EMPTY_REPORT_DISTANCE = "EMPTY_REPORT_DISTANCE";
	//	0X002D	UINT32	重车汇报距离间隔，米，>0
	public static final String PARAMS_FULL_REPORT_DISTANCE = "FULL_REPORT_DISTANCE";
	//	0X002E	UINT32	休眠时汇报距离间隔，米，>0
	public static final String PARAMS_DORMANT_REPORT_DISTANCE = "DORMANT_REPORT_DISTANCE";
	//	0X002F	UINT32	紧急报警时汇报距离间隔，米，>0
	public static final String PARAMS_URGENCY_ALARM_REPORT_DISTANCE = "URGENCY_ALARM_REPORT_DISTANCE";
	//	0X0030	UINT32	拐点补传角度，<180
	public static final String PARAMS_FILL_THE_ANGLE= "FILL_THE_ANGLE";
	//	0X00032 - 0X003F		预留
	//	0X0040	STRING	监控指挥中心电话号码
	public static final String PARAMS_CENTRA_PHONE= "CENTRA_PHONE";
	//	0X0041	STRING	复位电话号码
	public static final String PARAMS_RESET_PHONE= "RESET_PHONE";
	//	0X0042	STRING	恢复出厂设置电话号码
	public static final String PARAMS_RESET_FIRST_PHONE= "RESET_FIRST_PHONE";
	//	0X0043	STRING	监控指挥中心SMS电话号码
	public static final String PARAMS_CENTRA_SMS_PHONE= "CENTRA_SMS_PHONE";
	//	0X0044	STRING	接收终端SMS文本报警号码
	public static final String PARAMS_SMS_ALARM_PHONE= "SMS_ALARM_PHONE";
	//	0X0045	UINT32	终端电话接听策略，0:自动接听；1:ACC ON时自动 接听，OFF时手动接听
	public static final String PARAMS_ANSWER_CALL_TYPE= "ANSWER_CALL_TYPE";
	//	0X0046	UINT32	每次最长通话时间，秒
	public static final String PARAMS_MAX_CALL_EACH_TIME= "MAX_CALL_EACH_TIME";
	//	0X0047	UINT32	当月最长通话时间，秒
	public static final String PARAMS_MAX_CALL_MONTH_TIME= "MAX_CALL_MONTH_TIME";
	//	0X0048	UINT32	电话短号长度
	public static final String PARAMS_SHORT_LENGTH= "PARAMS_SHORT_LENGTH";
	//	0x0049	STRING	监听电话号码
	public static final String PARAMS_MONITOR_PHONE= "MONITOR_PHONE";
	//	0X004A	STRING	终端设备维护密码
	public static final String PARAMS_SAFEGUARD_PASSWORD= "SAFEGUARD_PASSWORD";
	//	0X004B	UINT	终端的语音播报音量控制0-9 0静音9为最高
	public static final String PARAMS_TTS_VOL= "TTS_VOL";
	//	0X004C - 0X004F		预留
	//	0X0050	UINT32	报警屏蔽字，与位置信息汇报消息中的报警标志相对应，相应位为1则相应报警被屏蔽
	public static final String PARAMS_ALARM_FLAG= "ALARM_FLAG";
	//	0X0051	UINT32	报警发送文本SMS开关，与位置信息汇报消息中的报警标志相对应，相应位为1则相应报警时发送文本SMS
	public static final String PARAMS_ALARM_SMS_SWITCHER= "ALARM_SMS_SWITCHER";
	//	0X0052	UINT32	报警拍摄开关，与位置信息汇报消息中的报警标志相对应，相应位为1则相应报警时摄像头拍摄
	public static final String PARAMS_ALARM_FILM_SWITCHER= "ALARM_FILM_SWITCHER";
	//	0X0053	UINT32	报警拍摄存储标志，与位置信息汇报消息中的报警标志相对应，相应位为1则对相应报警时拍的照片进行存储，否则实时上传
	public static final String PARAMS_ALARM_FILM_SAVE_SWITCHER= "ALARM_FILM_SAVE_SWITCHER";
	//	0X0055	UINT32	最高速度，KM/H
	public static final String PARAMS_MAX_SPEED= "MAX_SPEED";
	//	0X0056	UINT32	超速持续时间，秒
	public static final String PARAMS_SPEEDING_TIME= "SPEEDING_TIME";
	//	0X0057	UINT32	连续驾驶时间门限，秒
	public static final String PARAMS_MAX_RUN_TIME= "MAX_RUN_TIME";
	//	0x0058	DWORD	最小休息时间，单位为秒（s）
	public static final String PARAMS_MIN_REST_TIME= "MIN_REST_TIME";
	//	0x0059	DWORD	最长停车时间，单位为秒（s）
	public static final String PARAMS_MAX_PART_TIME= "MAX_PART_TIME";
	//	0x005A	DWORD	当天累计驾驶时间门限，单位为秒（s）
	public static final String PARAMS_MAX_DAILY_RUN_TIME= "MAX_RUN_DAILY_TIME";
	//	0x005B	WORD	事件触发拍照控制，参见附录D
	public static final String PARAMS_PHOTOGRAPH_TRIGGER= "PHOTOGRAPH_TRIGGER";
	//	0x005C	WORD	拍照存储控制，参见表附录D
	public static final String PARAMS_PICTRUE_SAVE= "MAX_PART_TIME";
	//	0X005D〜0X006F		预留
	//	0X0070	UINT32	图像/视频质量，1〜10，1最好
	public static final String PARAMS_VEDIO_LEVEL= "VEDIO_LEVEL";
	//	0X0071	UINT32	亮度，0〜255
	public static final String PARAMS_BRIGHTNESS= "BRIGHTNESS";
	//	0X0072	UINT32	对比度，0〜127
	public static final String PARAMS_CONTRAST = "CONTRAST";
	//	0X0073	UINT32	饱和度，0-127
	public static final String PARAMS_SATURABILITY= "SATURABILITY";
	//	0X0074	UINT32	色度，0-255
	public static final String PARAMS_CHROMINANCE= "CHROMINANCE";
	//	0X0075〜0X007F		预留
	//	0x0075  UINT32	//拍照照片存储策略：
	public static final String PHOTOGRAPH_TAKE_STORAGE = "PHOTOGRAPH_TAKE_STORAGE";
	//	0x0076  UINT32	//拍照照片上传策略：
	public static final String PHOTOGRAPH_TAKE_UPLOAD = "PHOTOGRAPH_TAKE_UPLOAD";
	//	0x0077  UINT32	//定时拍照:0不开;1全程打开;2重车状态
	public static final String PHOTOGRAPH_TAKE_TYPE = "PHOTOGRAPH_TAKE_TYPE";
	//	0x0078  UINT32	定时拍照时间间隔，单位秒
	public static final String PHOTOGRAPH_INTERVAL_TIME = "PHOTOGRAPH_INTERVAL_TIME";
	//  0x0079	UINT32  定时拍照分辨率:0：320×240；1：640×480；2：800×600；其他保留
	public static final String PHOTOGRAPH_QUALITY_TYPE = "PHOTOGRAPH_QUALITY_TYPE";

	//  0x007A	UINT32  报警时拍照的照片数量（内外均拍）。
	public static final String PHOTOGRAPH_ALARM_TOTAL = "PHOTOGRAPH_ALARM_TOTAL";
	//  0x007B	UINT32  报警时拍照时间间隔，单位s。
	public static final String PHOTOGRAPH_TAKE_ALARM_TIME = "PHOTOGRAPH_TAKE_ALARM_TIME";

	//	0X0080	UINT32	车辆里程表读数，1/10KM
	public static final String PARAMS_ODOMETER_READING= "Odometer_Reading";
	//	0X0081	UINT32	车辆所在的省域ID，1-255
	public static final String PARAMS_CURRENT_PROVINCE= "CURRENT_PROVINCE";
	//	0X0082	UINT32	车辆所在的市域ID,1-255
	public static final String PARAMS_CURRENT_CITY= "CURRENT_CITY";
	//	0X0090	BCD[1]	计价器营运次数限制，0-99;0表示不做限制
	public static final String PARAMS_METER_USEABLE_COUNT= "METER_USEABLE_COUNT";
	//	0X0091	BCD[5]	计价器营运时间限制，YYYY-MM-DD-hh，0000000000
	public static final String PARAMS_METER_USEABLE_TIME= "METER_USEABLE_TIME";

	//	0X0092	STRING	企业编码
	public static final String COMPANY_CODE = "COMPANY_CODE";
	//	0X0093	STRING	企业简称
	public static final String COMPANY_NAME = "COMPANY_NAME";
	//	0X0094	ASCII[6]	车牌号码(不包括汉字)  
	//	public static final String CARNUMBER = "CARNUMBER";
	//	表示不做限制
	//	0X0092 - 0X009F		预留
	//	0X00A0	UINT8	智能终端录音模式（OXOh全程录音;0X02:翻牌录音)
	public static final String PARAMS_RECORD_MODE= "RECORD_MODE";
	//	0X00A1	UINT8	智能终端录音文件最大时长（1-255)分钟
	public static final String PARAMS_MAX_RECORD_TIME= "MAX_RECORD_TIME";
	//	0X00A2	UINT8	液晶(LCD)心跳时间间隔(单位S 1-60)
	public static final String PARAMS_LCD_HEARTBEAT_TIME= "LCD_HEARTBEAT_TIME";
	//	0X00A3	UINT8	LED心跳时间间隔(单位S 1-60)
	public static final String PARAMS_LED_HEARTBEAT_TIME= "LED_HEARTBEAT_TIME";
	//	0X00AF	UINT16	ACC OFF后进入休眠模式的时间，单位S
	public static final String PARAMS_ACC_OFF_DORMANT_TIME= "ACC_OFF_DORMANT_TIME";
	//	0X00B0	UINT8	视频服务器协议模式0X00: TCP; 0X01: UDP
	public static final String PARAMS_VEDIO_PROTOCOL_MODE= "VEDIO_PROTOCOL_MODE";
	//	0X00B1	STRING	视频服务器APN，无线通信拨号访问点
	public static final String PARAMS_VEDIO_ADDR= "VEDIO_ADDR";
	//	0X00B2	STRING	视频服务器无线通信拨号用户名
	public static final String PARAMS_VEDIO_USER_NAME= "VEDIO_USER_NAME";
	//	0X00B3	STRING	视频服务器无线通信拨号密码
	public static final String PARAMS_VEDIO_USER_PASSWORD= "VEDIO_USER_PASSWORD";
	//	0X00B4	STRING	视频服务器地址，IP或域名
	public static final String PARAMS_VEDIO_IP= "VEDIO_IP";
	//	0X00B5	UINT32	视频服务器端口
	public static final String PARAMS_VEDIO_PORT= "VEDIO_PORT";
	/**
	 * 终端参数设置----------------------------------------------------------------结束
	 */

}
